/******************************************************************************
 * The contents of this file are subject to the   JDI License  Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * Software distributed under the License is distributed on an  "AS IS"  basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 * The Initial Developer of the Original Code is 陈慧然. Portions created by 
 * 陈慧然 are Copyright 陈慧然.
 * All Rights Reserved.
 *
 *              Contact john_holen@163.com for licensing alternatives.
 *
 *****************************************************************************/


package org.peony.standard.unvarying.dataTypes;

/**
 *  
 *
 *  @author     陈慧然
 *  @version    Id: DataDisplayTypeRef.java, v 0.000 2008-1-11 21:43:39 陈慧然 Exp
 */
public class DisplayDataTypes {
	public static final int String = 10;
	public static final int Integer = 11;
	public static final int Amount = 12;
	public static final int ID = 13;
	public static final int Text = 14;
	public static final int Date = 15;
	public static final int DateTime = 16;
	public static final int List = 17;
	public static final int Table = 18;
	public static final int TableDir = 19;
	public static final int Radio = 20;
	public static final int Location = 21;
	public static final int Number = 22;
	public static final int Binary = 23;
	public static final int Time = 24;
	public static final int Account = 25;
	public static final int RowID = 26;
	public static final int Color = 27;
	public static final int Button = 28;
	public static final int Quantity = 29;
	public static final int Search = 30;
	public static final int Locator = 31;
	public static final int Image = 32;
	public static final int Assignment = 33;
	public static final int Memo = 34;
	public static final int PAttribute = 35;
	public static final int TextLong = 36;
	public static final int CostPrice = 37;
	
	/**
	 * MAX_DIGITS,小数最大精度
	 * Oracle默认限制38位
	 * DB2默认限制31位
	 */
	public static final int MAX_DIGITS = 28;
	
	/** Digits of an Integer */
	public static final int INTEGER_DIGITS = 10;

	/** Maximum number of fractions */
	public static final int MAX_FRACTION = 12;

	/** Default Amount Precision */
	public static final int AMOUNT_FRACTION = 2;
}
